package com.ysjy.course.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ApiModel("课程表")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Course implements Serializable {

    @ApiModelProperty("ID")
    private Long id;
    @ApiModelProperty("机构ID")
    private Long orgId;
    @ApiModelProperty("唯一标识")
    private String uniqueId;
    @ApiModelProperty("课程名称")
    private String title;
    @ApiModelProperty("课程副标题")
    private String subtitle;
    @ApiModelProperty("封面")
    private String logo;
    @ApiModelProperty("课程分类id")
    private String tagId;
    @ApiModelProperty("素养标签id，多个‘,’号分割")
    private String labelIds;
    @ApiModelProperty("授课方式 1面授 2双师")
    private Integer type;
    @ApiModelProperty("课时数")
    private Integer timeNum;
    @ApiModelProperty("适合年级ID 多个','分割(注：所有年级为`0`)")
    private String gradeIds;
    @ApiModelProperty("适合年级 多个','分割(注：所有年级为`全部`)")
    private String gradeNames;
    @ApiModelProperty("总金额(分)")
    private Integer amount;
    @ApiModelProperty("课时价格(分)")
    private Integer courseTimeAmount;
    @ApiModelProperty("教材价格(分)")
    private Integer teachingMaterialAmount;
    @ApiModelProperty("教材介绍")
    private String teachingMaterialIntroduce;
    @ApiModelProperty("课程简介")
    private String introduce;
    @ApiModelProperty("课程大纲")
    private String content;
    @ApiModelProperty("采集数量")
    private Integer gatherNum;
    @ApiModelProperty("状态 1启用 0禁用")
    private Boolean enabled;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("课时列表")
    private List<CourseTime> courseTimeList;

}
